widget: Ignore text direction in gtk_widget_set_state_flags()
authorBenjamin Otte <otte@redhat.com>
Fri, 7 Feb 2014 13:45:54 +0000 (14:45 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 7 Feb 2014 13:48:54 +0000 (14:48 +0100)
commit6d3347de633cc5bc9cd30ef595ce7d6cd8afaba5
tree7e681d69c95a71e9ee0eed92037c364c6efbce41
parent4e14056b0c3f517e73fd51a1c3e083f555a36601
widget: Ignore text direction in gtk_widget_set_state_flags()

Previously we did a semi-successful job at ignoring it. Unfortunately
this job was bad enough that we could lose the direction.

We still allow passing in the enum values, because we want code like
this to work:
  set_state_flags (get_state_flags() | SOME_FLAGS)
gtk/gtkwidget.c